
package com.uchedao.seller.module.car;

import android.text.TextUtils;

import java.io.Serializable;

/**
 * 车型
 * 
 * @author likebamboo
 */
public class CarModel implements Serializable {
    /**
     * 序列化ID
     */
    private static final long serialVersionUID = 1L;

    private String id = "";

    private String brand_id = "";

    private String maker_id = "";

    private String series_name = "";

    private String sale_name = "";

    private String produce_year = "";

    private String model_year = "";

    private String model_name = "";

    private String displacement = "";

    private String gearbox_type = "";

    private String text = "";

    public CarModel() {
        super();
    }

    public CarModel(String id, String name) {
        super();
        this.id = id;
        this.model_name = name;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        if (!TextUtils.isEmpty(text)) {
            return text;
        }
        return "";
    }

    public void setName(String name) {
        this.model_name = name;
    }

    public String getBrandId() {
        return brand_id;
    }

    public void setBrandDd(String brand_id) {
        this.brand_id = brand_id;
    }

    public String getMakerId() {
        return maker_id;
    }

    public void setMakerId(String maker_id) {
        this.maker_id = maker_id;
    }

    public String getSeriesName() {
        return series_name;
    }

    public void setSeriesName(String series_name) {
        this.series_name = series_name;
    }

    public String getSaleName() {
        return sale_name;
    }

    public void setSaleName(String sale_name) {
        this.sale_name = sale_name;
    }

    public String getProduceYear() {
        return produce_year;
    }

    public void setProduceYear(String produce_year) {
        this.produce_year = produce_year;
    }

    public String getModelYear() {
        return model_year;
    }

    public void setModelYear(String model_year) {
        this.model_year = model_year;
    }

    public String getModelName() {
        return model_name;
    }

    public void setModelName(String model_name) {
        this.model_name = model_name;
    }

    public String getDisplacement() {
        return displacement;
    }

    public void setDisplacement(String displacement) {
        this.displacement = displacement;
    }

    public String getGearboxType() {
        return gearbox_type;
    }

    public void setGearboxType(String gearbox_type) {
        this.gearbox_type = gearbox_type;
    }

}
